package com.snlab.netGraph;

import java.util.HashMap;
import java.util.HashSet;

public class NetGraph {
    private HashMap<String, Device> devices;
    private HashSet<Link> links;

    public void addDevice(Device device) {
        this.devices.put(device.getName(), device);
    }

    public void addLink(Link link) {
        this.links.add(link);
    }
}
